<template>
  <div class="index_cont">
    {{msg}}
  </div>
</template>

<script>
  import router from '@/router/index'
  import ls from '@/util/localstorage'
  export default{
    data(){
      return {
        msg : ls.$localStorage.get("sxp")
      }
    },
    created(){
      router.push('/login');
    },
    mounted(){
      console.log(this.$store.state.user.username);
    }
  }
</script>


<style lang="less">
  .index_cont{

  }
</style>
